<slider id="left_menu">
	<ul class="list-group">
		
		

		
		<li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-cog"></span>订单管理
			</a>
			<ul class="list-group">
				<li class="list-group-item ">
					<a href="{:U('Order/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>订单列表
					</a>
				</li>
        		
        		
			</ul>
		</li> 
		
		
        <li class="list-group-item">
			<a href="#">
				<span class="glyphicon glyphicon-cog"></span>系统设置
			</a>
			<ul class="list-group">
        		<li class="list-group-item ">
					<a href="{:U('Access/manager')}" target="mainFrame">
						<span class="glyphicon glyphicon-user"></span>管理员管理
					</a>
				</li> 
        		<li class="list-group-item ">
					<a href="{:U('Access/role')}" target="mainFrame">
						<span class="glyphicon glyphicon-road"></span>角色管理
					</a>
				</li> 
        		<li class="list-group-item ">
					<a href="{:U('Access/node')}" target="mainFrame">
						<span class="glyphicon glyphicon-th-list"></span>节点管理
					</a>
				</li> 
        		<li class="list-group-item ">
					<a href="{:U('Cache/index')}" target="mainFrame">
						<span class="glyphicon glyphicon-trash"></span>清除缓存
					</a>
				</li>
			</ul>
		</li> 
    </ul>
</slider> 


<script language="javascript">
$(function(){
	$('#left_menu>ul>li>a').click(function(){
		if($(this).hasClass('opened')){
			$(this).removeClass('opened');
			$(this).next('.list-group').slideUp('fast');
		}else{
			$('#left_menu>ul>li>a.opened').removeClass('opened');
			$(this).addClass('opened');
			$('#left_menu li ul').slideUp('fast');
			$(this).next('.list-group').slideDown('fast');
		}
		return false;
	});
	$('#left_menu li ul li a').click(function(){
		if(!$(this).hasClass('opened')){
			$('#left_menu li ul li a.opened').removeClass('opened');
			$(this).addClass('opened');
		}
	}); 
	$('#left_menu .list-group a').click(function(){
		var html = '<li class="active">'+$(this).html()+'</li>';
		if($(this).parents('.list-group').prev('a').length>0){
			html = '<li>'+$(this).parents('.list-group').prev('a').html()+'</li>'+html;
		}
		$('#breadcrumb').html(html);
	}); 
});
</script>